<#import "/freemarker/modeltype.ftl" as mt>
<div class="dataTables_title">
	<div class="dataTables_title_left">按钮注释</div>
	<div class="dataTables_title_right">
		<a class="btn btn-xs btn-danger"><i class="icon-lock">屏蔽</i></a>
		<a class="btn btn-xs btn-waring"><i class="icon-unlock">解除屏蔽</i></a>
		<a class="btn btn-success"><i class="icon-ok"></i> 确认</a>
	</div>
</div>
<table cellpadding="1" cellspacing="1" class="table table-bordered">
	<thead>
		<tr class="ui-widget-header">
			<th>离职人员</th>
			<th>离职原因</th>
			<th>预计离职时间</th>
			<th>是否离职</th>
			<th>备注</th>
			<!-- <th>实际离职时间</th> -->
			<th style="width:50px;">操作</th>
		</tr>
	</thead>
	<#list pageBean.resultList as resignation>
	<tr class="ui-widget-content">
		<td>${(resignation.cn)!''}</td>
		<td>${(resignation.reason)!''}</td>
		<td>${(resignation.ft?string("yyyy-MM-dd"))!''}</td>
		<td><@mt.YesOrNo value=((resignation.quit)!false) r=false />&nbsp;&nbsp;${(resignation.qt?string("yyyy-MM-dd"))!''}</td>
		<td>${(resignation.remark)!''}</td>
		<td>
			<div class="btn-group">
				<#if !resignation.quit>
				<a class="btn btn-xs btn-success" onclick="javascript: quit_resignation('${resignation.code}', '${resignation.un}');" title="确认"><i class="icon-ok"></i></a>
				</#if>
			</div>
		</td>
	</tr>
	</#list>
</table>
<#import "/freemarker/pagination.ftl" as p>
<@p.pagination pageBean 'query_resignation'/>